﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Process.Entities;
using Process.BLL;

namespace Business
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ListCategory();
        }

        void ListCategory()
        {
            if (!IsPostBack)
            {
                rpt_ListCategory.DataSource = CategoryBLL.ShowAllCategories();
                rpt_ListCategory.DataBind();
            }
        }
    }
}
